package entity

import (
	"shqsoft.cn/pasnj/base"
)

//对公存款大额变动   首页
type DGCKDESY struct {
	ID     int     `gorm:"AUTO_INCREMENT;primary_key;column:ID"`
	CUNM   string  `gorm:"column:客户名称"`
	ACBL   float64 `gorm:"column:存款余额"`
	JSR    float64 `gorm:"column:较上日"`
	JNC    float64 `gorm:"column:较年初"`
	AVVL   float64 `gorm:"column:年日均"`
	CYNM   string  `gorm:"column:币种"`
	ABSJSR float64 `gorm:"column:ABSJSR"`
}

//TableName DGCKDESY 角色表名
func (DGCKDESY) TableName() string {
	return "V_COMP_CKBD"
}

func DGCKDESYEF() base.EntityFunc {
	return func() interface{} {
		entity := DGCKDESY{}
		return &entity
	}
}
func DGCKDESYESF() base.EntitiesFunc {
	return func() interface{} {
		var entities []DGCKDESY
		return &entities
	}
}
func init() {
	dao := base.NewDefaultDao(DGCKDESYEF(), DGCKDESYESF(), nil)
	filter := base.DefaultFilter{
		FilterColName: "CUID",
		TableName:     "T_COMP_CLIE_YGFC",
		EmidColName:   "EMID",
		AcidColName:   "CUID",
		WhereCause:    "DTID=dbo.GetDateToInt(dbo.GetCurSysDate())",
	}
	dao.Fileter = &filter
	base.DaoPoolObj.Put("DGCKDESY", dao)
}
